﻿using Domain;
using ErrorCode;
using Infrastructure.Data;
using MediatR;
using Mysqlx.Crud;
using SqlSugar;
using WriteAPI.Command.Material;

namespace WriteAPI.CommandHandle.Material
{
    public class UpdateMaterialReplenishmentWithDetailsCommandHandler : IRequestHandler<UpdateMaterialReplenishmentWithDetailsCommand, APIResult<object>>
    {
        private readonly ISqlSugarClient db;


        public UpdateMaterialReplenishmentWithDetailsCommandHandler(ISqlSugarClient db)
        {
            this.db = db;

        }

        public Task<APIResult<object>> Handle(UpdateMaterialReplenishmentWithDetailsCommand request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
